package com.linkoog.devtools.code_generator.wizard.generate.database.template.panel;

import com.intellij.util.ui.JBUI;

import javax.swing.*;
import javax.swing.border.LineBorder;
import java.awt.*;

public class BottomPanelBuilder {

    private JPanel myMainPanel;

    public BottomPanelBuilder() {
        myMainPanel.setBorder(new LineBorder(Color.LIGHT_GRAY));
        myMainPanel.setMinimumSize(JBUI.size(200, 120));
        myMainPanel.setPreferredSize(JBUI.size(200, 120));
    }

    public JPanel getMyMainPanel() {
        return myMainPanel;
    }

    {
// GUI initializer generated by IntelliJ IDEA GUI Designer
// >>> IMPORTANT!! <<<
// DO NOT EDIT OR ADD ANY CODE HERE!
        $$$setupUI$$$();
    }

    /**
     * Method generated by IntelliJ IDEA GUI Designer
     * >>> IMPORTANT!! <<<
     * DO NOT edit this method OR call it in your code!
     *
     * @noinspection ALL
     */
    private void $$$setupUI$$$() {
        myMainPanel = new JPanel();
        myMainPanel.setLayout(new BorderLayout(0, 0));
    }

    /**
     * @noinspection ALL
     */
    public JComponent $$$getRootComponent$$$() {
        return myMainPanel;
    }
}
